﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Left.aspx.cs" Inherits="Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">

    <title>模块列表</title>
    <link type="text/css" rel="stylesheet" href="Common/css/main.css" />
    
    <script type="text/javascript" src="Common/js/jquery.js"></script>
    <script type="text/javascript" src="Common/js/common.js"></script>
    <script type="text/javascript" src="Common/js/public.js"></script>
    
       <script type="text/javascript">
    
    function leftNav(url,selItemIndex)
    {
         for(i=1;i<11;i++)
         {
            var obj=document.getElementById("item"+i);
            if(obj!=null)
             {
                document.getElementById("item"+i).className="";
             }
         }
         
         document.getElementById("item"+selItemIndex).className="active";
         parent.frames["mainFrame"].location=url;
    }
    var current = null;
    function leftNav1(url,selItemIndex)
    {
         if(current!=null)
         {
            current.className="";
         }
         current = document.getElementById("item"+selItemIndex);
         document.getElementById("item"+selItemIndex).className="active";
         parent.frames["mainFrame"].location=url;
    }
    </script>
    
</head>
<body scroll="no">
    <form id="form1" runat="server">
    <div class="leftWarp">
	<div class="menuBody">
	    <div class="menuList">
	        <h2>系 统 菜 单</h2>
	        <dl>
            	<dt>系 统 管 理</dt>
                <dd id="SubMenu1">
                	<ul>
                	    <% if (Common.CurrentVersion != EduVersion.School &&  Common.GetUserInfo().UserType == 1){ %>
                	    <!-- 教育局 -->
                        <li id="item3"><a href="javascript:leftNav('Education/SchoolArea.aspx',3)" title="" onfocus="this.blur()")><img src="Common/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;学区管理</a></li>
                        <li id="item1"><a href="javascript:leftNav('Education/School.aspx',1)" title="" onfocus="this.blur()"><img src="Common/images/g3.gif" alt=""   width="17" />&nbsp;&nbsp;学校管理</a></li>
                   	    <li id="item2"><a href="javascript:leftNav('Education/CauseManage.aspx',2)" title="" onfocus="this.blur()"><img src="Common/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;课程管理</a></li>
                        <li id="item4"><a href="javascript:leftNav('Education/TermSetting.aspx',4)" title="" onfocus="this.blur()")><img src="Common/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;学期管理</a></li>
                        <li id="item5"><a href="javascript:leftNav('Education/EducationUsersFrame.aspx',5)" title="" onfocus="this.blur()")><img src="Common/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;用户管理</a></li>
                        <% } %>
<%--                   	    <% } else {%>
                        <li id="item3"><a title="" onfocus="this.blur()")><img src="Common/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;学区管理</a></li>
                        <li id="item1"><a title="" onfocus="this.blur()"><img src="Common/images/g3.gif" alt=""   width="17" />&nbsp;&nbsp;学校管理</a></li>
                   	    <li id="item2"><a title="" onfocus="this.blur()"><img src="Common/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;课程管理</a></li>
                        <li id="item4"><a title="" onfocus="this.blur()")><img src="Common/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;学期管理</a></li>
                        <li id="item5"><a title="" onfocus="this.blur()")><img src="Common/images/g3.gif" width="17" alt="" />&nbsp;&nbsp;用户管理</a></li>
                   	    <%} %>--%>
                   	    <!-- 学校 -->
                   	    <% if (Common.CurrentVersion != EduVersion.School && Common.GetUserInfo().UserType == 3)
                           { %>
                        <li  id="item9"><a href="javascript:leftNav('School/Teacher.aspx',9)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;教工档案</a></li>
                   	    <li  id="item6"><a href="javascript:leftNav('School/ClassFrame.aspx',6)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;班级管理</a></li>
                        <li  id="item10"><a href="javascript:leftNav('School/StudentFrame.aspx',10)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;学生档案</a></li>
                   	    <li  id="item7"><a href="javascript:leftNav('School/CauseSetting.aspx',7)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;课程配置</a></li>
                   	    <li  id="item8"><a href="javascript:leftNav('School/TeachSettingFrame.aspx',8)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;教学配置</a></li>

                   	    <%} %>
                   	    
                   	    
                   	    <% if (Common.CurrentVersion == EduVersion.School && Common.GetUserInfo().UserType == 3 && Common.GetUserInfo().UserName.Equals("admin"))
                           { %>
                            <li  id="item31"><a href="javascript:leftNav1('School/SchSchoolInfo.aspx',31)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;学校信息</a></li>
                            <li  id="item32"><a href="javascript:leftNav1('Education/CauseManage.aspx',32)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;课程配置</a></li>
                            <li  id="item33"><a href="javascript:leftNav1('Education/TermSetting.aspx',33)" title="" onfocus="this.blur()")><img src="Common/images/g4.gif" height="16" width="17" alt="" />&nbsp;&nbsp;学期管理</a></li>
                            <li  id="item34"><a href="javascript:leftNav1('School/Teacher.aspx',34)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;教工档案</a></li>
                   	        <li  id="item37"><a href="javascript:leftNav1('School/TeachSettingFrame.aspx',37)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;教学配置</a></li>
                   	        <li  id="item35"><a href="javascript:leftNav1('School/ClassFrame.aspx',35)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;班级管理</a></li>
                   	        <li  id="item36"><a href="javascript:leftNav1('School/StudentFrame.aspx',36)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;学生档案</a></li>
                   	        <li  id="item38"><a href="javascript:leftNav1('School/ClassCauseTeacher.aspx',38)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;任课教师设置</a></li>
                   	    <%} %>
                   	    
                   	     <% if (Common.CurrentVersion == EduVersion.School && Common.GetUserInfo().UserType == 3 && Common.GetUserInfo().UserName.Equals("zwadmin"))// add by lxy 添加总务管理员(zwadmin)
                           { %> 
                            <li  id="item44"><a href="javascript:leftNav1('School/Teacher.aspx',44)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;教工档案</a></li>
                   	        <li  id="item47"><a href="javascript:leftNav1('School/TeachSettingFrame.aspx',47)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;教学配置</a></li>
                   	        <li  id="item45"><a href="javascript:leftNav1('School/ClassFrame.aspx',45)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;班级管理</a></li>
                   	        <li  id="item46"><a href="javascript:leftNav1('School/StudentFrame.aspx',46)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;学生档案</a></li>
                   	        <li  id="item48"><a href="javascript:leftNav1('School/ClassCauseTeacher.aspx',48)" title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;任课教师设置</a></li>
                   	     <%} %>
                   	    
<%--                   	    <% } else {%>
                   	    <li  id="item6"><a title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;班级管理</a></li>
                   	    <li  id="item7"><a title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;课程配置</a></li>
                   	    <li  id="item8"><a title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;教学配置</a></li>
                   	    <li  id="item9"><a title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;教工档案</a></li>
                   	    <li  id="item10"><a title="" onfocus="this.blur()"><img src="Common/images/g4.gif"  height="16" width="17" alt="" />&nbsp;&nbsp;学生档案</a></li>
                   	    <%} %>--%>
                    </ul>
                 </dd>
             </dl>
	    </div>
    	
    </div>  
</div>
    </form>
</body>
</html>
